<%-- 
    Document   : register
    Created on : Jan 12, 2013, 1:51:39 AM
    Author     : SONY
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html" %>

<%-- Report any errors (if any) --%>
<html:errors />

<%-- Generate main body --%>
<html:form action="/nonmember/register.do" method="POST" acceptCharset="UTF-8">
    <table width=600 border=0>
        <tr>
            <td colspan=2 style="font-weight: bold;">Thông Tin Tài Khoản Đăng Nhập</td>
        </tr>
        <tr>
            <td width=200><span class="required">*&nbsp;</span>Email</td>
            <td width=400>
                <%-- Repopulate the Email field --%>
                <html:text property="email" size="30" />
            </td>
        </tr>
        <tr>
            <td><span class="required">*&nbsp;</span>Mật Khẩu</td>
            <td>
                <%-- Repopulate the Password field --%>
                <html:password property="password" size="30" />
            </td>
        </tr>
        <tr>
            <td><span class="required">*&nbsp;</span>Nhập Lại Mật Khẩu</td>
            <td>
                <%-- Repopulate the Password field --%>
                <html:password property="confirmpass" size="30" />
            </td>
        </tr>
    </table>
    <p>&nbsp;</p>
    <table width=600 border=0>
        <tr>
            <td colspan=2 style="font-weight: bold;">Thông Tin Giao Hàng</td>
        </tr>
        <tr>
            <td width=200><span class="required">*&nbsp;</span>Họ và Chữ Lót</td>
            <td width=400>
                <%-- Repopulate the LastName field --%>
                <html:text property="lastName" size="30" />
            </td>
        </tr>
        <tr>
            <td><span class="required">*&nbsp;</span>Tên</td>
            <td>
                <%-- Repopulate the FirstName field --%>
                <html:text property="firstName" size="30" />
            </td>
        </tr>
        <tr>
            <td><span class="required">*&nbsp;</span>Giới Tính<br /></td>
            <td>
                <%-- Repopulate the Gender drop-down menu --%>
                <html:select property='gender'>
                <html:option value="F">Nữ</html:option>
                <html:option value="M">Nam</html:option>
                </html:select>
            </td>
        </tr>
        <tr>
            <td><span class="required">*&nbsp;</span>Điện Thoại Liên Hệ</td>
            <td>
                <%-- Repopulate the Phone field --%>
                <html:text property="phone" size="30" />
            </td>
        </tr>
        <tr>
            <td><span class="required">*&nbsp;</span>Địa Chỉ (số nhà, đường)</td>
            <td>
                <%-- Repopulate the Street field --%>
                <html:text property="street" size="30" />
            </td>
        </tr>
        <tr>
            <td><span class="required">*&nbsp;</span>Phường</td>
            <td>
                <%-- Repopulate the Ward field --%>
                <html:text property="ward" size="30" />
            </td>
        </tr>
        <tr>
            <td><span class="required">*&nbsp;</span>Quận / Huyện</td>
            <td>
                <%-- Repopulate the District field --%>
                <html:text property="district" size="30" />
            </td>
        </tr>
        <tr>
            <td><span class="required">*&nbsp;</span>Thành Phố / Thị Xã</td>
            <td>
                <%-- Repopulate the City field --%>
                <html:text property="city" size="30" />
            </td>
        </tr>
        <tr>
            <td><span class="required">*&nbsp;</span>Tỉnh</td>
            <td>
                <%-- Repopulate the Province drop-down menu --%>
                <html:select property='province'>
                <html:option value="Hồ Chí Minh">Hồ Chí Minh</html:option>
                <html:option value="Cần Thơ">Cần Thơ</html:option>
                <html:option value="Hải Phòng">Hải Phòng</html:option>
                <html:option value="Đà Nẵng">Đà Nẵng</html:option>
                <html:option value="Hà Nội">Hà Nội</html:option>
                </html:select>
            </td>
        </tr>
        <tr>
            <td colspan=2 align=center>
                <%-- The submit button --%>
                <html:submit value="Đăng Ký" styleClass="button"/>
            </td>
        </tr>
    </table>
</html:form>